package com.ruoyi.module.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资金拆借对象 fu_fund_lending
 *
 * @author fubojin
 * @date 2025-01-10
 */
@Data
@ApiModel(value = "资金拆借")
@EqualsAndHashCode(callSuper = true)
public class FundLending extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 订单号单号
     */
    @Excel(name = "订单号单号")
    @ApiModelProperty(value = "订单号单号")
    private String fundNumber;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    @ApiModelProperty(value = "电话号码")
    private String phone;

    /**
     * 周转对象userID
     */
    @Excel(name = "周转对象userID")
    @ApiModelProperty(value = "周转对象userID")
    private Long userId;

    /**
     * 申请人姓名
     */
    @Excel(name = "申请人姓名")
    @ApiModelProperty(value = "申请人姓名")
    private String nickName;

    /**
     * 申请人userID
     */
    @Excel(name = "申请人userID")
    @ApiModelProperty(value = "申请人userID")
    private Long applyUserId;

    /**
     * 申请人姓名
     */
    @Excel(name = "申请人姓名")
    @ApiModelProperty(value = "申请人姓名")
    private String applyNickName;

    /**
     * 周转资金金额
     */
    @Excel(name = "周转资金金额")
    @ApiModelProperty(value = "周转资金金额")
    private BigDecimal price;

    /**
     * 显示类型（）
     */
    @Excel(name = "显示类型", readConverterExp = "显示类型（）")
    @ApiModelProperty(value = "显示类型（）")
    private Integer type;

    /**
     * 申请状态（1-申请，2-同意，3-拒绝）
     */
    @Excel(name = "申请状态", readConverterExp = "1=-申请，2-同意，3-拒绝")
    @ApiModelProperty(value = "申请状态（1-申请，2-同意，3-拒绝）")
    private Integer rechargeStatus;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date reasonTime;

    /**
     * 不借原因
     */
    @Excel(name = "不借原因")
    @ApiModelProperty(value = "不借原因")
    private String reasonReason;


}
